package com.ykht.proj.coupon.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class CouponLogPagelResp {
	@ApiModelProperty(value="领取记录id")
	private Long id;
	@ApiModelProperty(value="优惠券id")
	private Long couponId;
	@ApiModelProperty(value="品牌Id")
	private Long brandId;
	@ApiModelProperty(value="品牌名称")
	private String brandName;
	@ApiModelProperty(value="品牌外显图")
	private String brandExplicitUrl;
	@ApiModelProperty(value="品牌外显图")
	private String logoUrl;
	@ApiModelProperty(value="领取时间")
	private LocalDateTime receiveTime;

	@ApiModelProperty(value="优惠券名称")
	private String name;
	@ApiModelProperty(value="优惠券类型0无门槛1满减")
	private Integer couponType;
	@ApiModelProperty(value="0领取后N天内有效1时间段")
	private Integer dateType;
	@ApiModelProperty(value="0通用券1多门店2单门店")
	private Integer type;
	@ApiModelProperty(value="最低消费金额")
	private Integer lowMoney;
	@ApiModelProperty(value="减免金额")
	private Integer reductionMoney;
	@ApiModelProperty(value="优惠券生效时间")
	private LocalDateTime effectiveeStaTime;
	@ApiModelProperty(value="优惠券结束时间")
	private LocalDateTime effectiveeEndTime;
	@ApiModelProperty(value="有效天数")
	private Integer effectiveeDay;
	@ApiModelProperty(value="发放数量")
	private Integer grantCount;
	@ApiModelProperty(value="使用规则")
	private String usageRules;
	@ApiModelProperty(value="0上架1下架")
	private Integer status;
	@ApiModelProperty(value="状态")
	private Integer couponStatus;
	@ApiModelProperty(value="核销码")
	private String verificationCode;
	@ApiModelProperty(value="核销码base64")
	private String verificationCodeBase64;
	private LocalDateTime createTime;
	@ApiModelProperty(value="适用门店")
	private String shopName;
	@ApiModelProperty(value="适用门店")
	private Long shopId;
	@ApiModelProperty(value="门店经度")
	private String longitude;
	@ApiModelProperty(value="距离")
	private Long distance;
	@ApiModelProperty(value="门店纬度")
	private String latitude;
	@ApiModelProperty(value="门店地址")
	private String address;
	@ApiModelProperty(value="电话")
	private String phone;
	@ApiModelProperty(value="适用门店数量")
	private Integer num=0;
}
